package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wux
 * @date 2023/5/31 15:55
 */
@Data
@TableName("t_project_aim")
@ApiModel(value = "项目生产目标表")
public class TProjectAim implements Serializable {
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "产品id")
    private Long projectId;

    @ApiModelProperty(value = "年份")
    private String year;

    @ApiModelProperty(value = "年目标")
    private Integer yearNum;

    @ApiModelProperty(value = "月目标")
    private Integer monthNum;

    @ApiModelProperty(value = "日目标")
    private Integer dayNum;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
